
import java.util.Observable;
public class Zone extends Observable {

    public void publishTrends(Trends trends) {
        System.out.println(trends.getNickName() + "发表了一个动态【" + trends.getContent() + "】");

        setChanged();

        notifyObservers(trends);
    }
}